from locust import task, FastHttpUser,between
import sys

class MyUser(FastHttpUser):
    wait_time = between(1, 2)
    @task
    def index(self):
        self.client.get("/", debug_stream=sys.stderr)